﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Yhb.Config
{
    public class SignConfig
    {
        /// <summary>
        /// //商户自己的私钥【用GenerateKey工具生成RSA秘钥对，JAVA 公钥通过登录分账通平台进行配置，.net私钥设置到下面的变量中】
        /// </summary>
        public static readonly string PRIVATE_KEY = "<RSAKeyValue><Modulus>vcYY1Upr7+XSSfZKCpP1u0g6nxIKJOjyG0isaLqhEL753wQsDiTgl/LR6NEqb7vtTy2jBkQq9JDFOwq4vgxn4CgEOjBOMXwPKhlODUX9k8Snd2zPak6pM+TIdxQmW03CEgOoPI0XOanN+lBvRIEuWVMYzN2NNuH4yd8+L0PwdPk=</Modulus><Exponent>AQAB</Exponent><P>7ahTLVe7g47gHpHwfdNahw/61t/KVFH5LvTCpNBoyOLLkTQ6wFqUT97vdVQywAliUbZlOvrf2p3Y1uv+yksXtw==</P><Q>zGuto1iD0unvAmFiNqtfXYZDwO1Nyfii1Im9VucE99toUiDvrGxiD8c37eQs9Rf9LiCq+8l1tfgZ9pvjqbn4zw==</Q><DP>YNzFIerrE0CtWehTY4U8FWZO7zsBBQLwE9JQbso+mvnMzF7EP1frsO4FHQX3NUvd1b4IXlSX3kuNcHN5Qkv+2w==</DP><DQ>kDVSPE6gSHVBaEN8/qYs05R5Tava2aWucRNuX9T/uz6sPGwByHh5QTpAKXFzib/Pmu/uz0tS3/lTj5Zvp/eLHw==</DQ><InverseQ>SeTf8WmfphGai1/Ebf8nxLfGkT12Mcm09TC3k3v+ioYTGUxVb/qKzG2vrLXELzy5b14r5HQ84CDe2Sv8TdEgnA==</InverseQ><D>j4Yrr9w6J9Q7p35iXv+qADtPQpDlJSccO/BJnGdRexXEapuAKi5Pwft+L8NJgfmyL4jHW+zgQ9jdoZqpP+qn/7xLy0h6bvFodmKQU7vIIUVqIP5QZBJ66AkV5JARDQ3yV+NAkFvp+Ao0djy7oGyGf8b7V48YK/hedWPK6OrzDyU=</D></RSAKeyValue>";

        /// <summary
        // 分账通平台提供给商户的SecretKey，登录分账通平台查看
        /// </summary>
        public static readonly string SECRET_KEY = "b81e07d2c3f24b4299ae1acefed9a99f";

        /// <summary>
        /// //分账通平台提供给商户的公钥，响应结果验签使用，登录分账通平台查看,并通过ConvertKeyTool工具将JAVA公钥转换为.NET公钥设置到下面的变量中
        /// </summary>
        public static readonly string EHB_PUBLIC_KEY = "<RSAKeyValue><Modulus>sE2uYiROZp7W9sD4Kv888mr8cYOczhL1YTWdIziKGjar7DY2WXlFh7Ic52Sf8QP3vYET0E/augF9ukIac6lmXiUG4YFh12yGaEa9hXVz/X3D/4pEktkXS+zu6HOzcLfJnrWgyWX1deIXnrlf9tbSR9YgiWH39AO6X6Auz3Ck1LZOcvt9e7/RsCjJLE+cYZco+Yocuy/5ljAhH1GFh6hNhKODw1T+mIJ1n7PZHfOP9T+hlB4gvaGguq54u6nVCv7tREtiHWd2ALm/OchKFaRKMDwGCgqu0KC4I3kCvmiEELVXzuSsZieTk2xanhGnNQrbafQVEwbAm/IiW64pyKhJYQ==</Modulus><Exponent>AQAB</Exponent></RSAKeyValue>";

    }
}
